FILES = Card.cpp Card.h Player.cpp Player.h Computer.cpp Computer.h Human.cpp Human.h Table.cpp Table.h Meld.cpp Meld.h Game.cpp Game.h
CC=g++
CCFLAGS=-pedantic -ansi -std=c++98 -Wall -Wextra -O -g

TestPlayer: TestPlayer.o Game.o Computer.o Human.o Player.o Card.o Meld.o Group.o Run.o SetIter.o Set.o

TestPlayer.o: TestPlayer.cpp Computer.h Human.h Player.h Meld.h Group.h Run.h
Game.o: Game.cpp Game.h Computer.h Human.h Player.h Group.h Meld.h Run.h
Computer.o: Computer.cpp Computer.h Player.h Card.h Group.h Meld.h Run.h Set.cpp SetIter.cpp
Human.o: Human.cpp Human.h Player.h Group.h Run.h Meld.h Card.h Set.cpp SetIter.cpp
Player.o: Player.cpp Player.h Group.h Run.h Meld.h
Group.o: Meld.h SetIter.cpp Set.cpp Node.cpp Card.cpp
Run.o: Meld.h SetIter.cpp Set.cpp Node.cpp Card.cpp
Meld.o: SetIter.cpp Set.cpp Node.cpp Card.cpp
SetIter.o: SetIter.cpp Set.cpp Node.cpp
Set.o: Set.cpp Node.cpp
Card.o:Card.cpp Card.h


human:
	$(CC) $(CCFLAGS) tHuman.cpp Card.cpp Player.cpp Human.cpp -o h 

clean:
	rm -f *.o TestPlayer h 

tar:
	tar -cvzf final.tar.gz $(FILES) 
